this commit is in an unspecified state

This commit is contained in:
Tony Olagbaiye 2018-05-06 15:51:07 +01:00
parent c94091bdff
commit 614a7d5b5b
2 changed files with 4 additions and 6 deletions

View File

@ -222,7 +222,6 @@ static int callback_http(struct lws *wsi, enum lws_callback_reasons reason,
new_channel->is_member = json_object_get_boolean(is_member);
}
/*
topic = json_object_object_get(channel, "topic");
if (json_valid(topic, request->workspace))
{
@ -264,7 +263,6 @@ static int callback_http(struct lws *wsi, enum lws_callback_reasons reason,
json_object_get_int(sub_last_set) :
0);
}
*/
is_archived = json_object_object_get(response, "is_archived");
if (json_valid(is_archived, request->workspace))

View File

@ -15,7 +15,7 @@ struct t_slack_channel_typing
{
char *id;
char *name;
time_t ts;
long ts;
struct t_slack_channel_typing *prev_typing;
struct t_slack_channel_typing *next_typing;
@ -33,14 +33,14 @@ struct t_slack_channel_topic
{
char *value;
char *creator;
time_t last_set;
long last_set;
};
struct t_slack_channel_purpose
{
char *value;
char *creator;
time_t last_set;
long last_set;
};
struct t_slack_channel
@ -48,7 +48,7 @@ struct t_slack_channel
enum t_slack_channel_type type;
char *id;
char *name;
time_t created;
int created;
/* channel */
int is_general;