Revision c7380b07 plugins/janus_textroom.c

View differences:

plugins/janus_textroom.c
155 155
	{"text", JSON_STRING, JANUS_JSON_PARAM_REQUIRED},
156 156
	{"to", JSON_STRING, 0},
157 157
	{"tos", JSON_ARRAY, 0},
158
  {"ack", JANUS_JSON_BOOL, 0}
158
    {"ack", JANUS_JSON_BOOL, 0}
159 159
};
160 160

  
161 161
/* Static configuration instance */
......
803 803
#endif
804 804
		}
805 805
		g_free(msg_text);
806
		janus_mutex_unlock(&textroom->mutex);
806
    janus_mutex_unlock(&textroom->mutex);
807 807
    /* Should we send ack event? Yes if no ack field provided, else follow field directive */
808 808
    json_t *ack = json_object_get(root, "ack");
809 809
		if(!internal && (ack == NULL || json_is_true(ack))) {

Also available in: Unified diff