mezon-js 2.14.1 → 2.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mezon-js.cjs.js +39 -117
- package/dist/mezon-js.esm.mjs +39 -117
- package/dist/mezon-js.esm.mjs.map +1 -1
- package/package.json +1 -1
- package/socket.ts +44 -122
package/dist/mezon-js.cjs.js
CHANGED
|
@@ -35178,176 +35178,98 @@ var _DefaultSocket = class _DefaultSocket {
|
|
|
35178
35178
|
message.last_seen_message_event
|
|
35179
35179
|
);
|
|
35180
35180
|
} else if (message.status_presence_event) {
|
|
35181
|
-
this.onstatuspresence(
|
|
35182
|
-
message.status_presence_event
|
|
35183
|
-
);
|
|
35181
|
+
this.onstatuspresence(message.status_presence_event);
|
|
35184
35182
|
} else if (message.stream_presence_event) {
|
|
35185
|
-
this.onstreampresence(
|
|
35186
|
-
message.stream_presence_event
|
|
35187
|
-
);
|
|
35183
|
+
this.onstreampresence(message.stream_presence_event);
|
|
35188
35184
|
} else if (message.stream_data) {
|
|
35189
35185
|
this.onstreamdata(message.stream_data);
|
|
35190
35186
|
} else if (message.channel_message) {
|
|
35191
35187
|
const channelMessage = createChannelMessageFromEvent(message);
|
|
35192
35188
|
this.onchannelmessage(channelMessage);
|
|
35193
35189
|
} else if (message.message_typing_event) {
|
|
35194
|
-
this.onmessagetyping(
|
|
35195
|
-
message.message_typing_event
|
|
35196
|
-
);
|
|
35190
|
+
this.onmessagetyping(message.message_typing_event);
|
|
35197
35191
|
} else if (message.message_reaction_event) {
|
|
35198
|
-
this.onmessagereaction(
|
|
35199
|
-
message.message_reaction_event
|
|
35200
|
-
);
|
|
35192
|
+
this.onmessagereaction(message.message_reaction_event);
|
|
35201
35193
|
} else if (message.channel_presence_event) {
|
|
35202
|
-
this.onchannelpresence(
|
|
35203
|
-
message.channel_presence_event
|
|
35204
|
-
);
|
|
35194
|
+
this.onchannelpresence(message.channel_presence_event);
|
|
35205
35195
|
} else if (message.last_pin_message_event) {
|
|
35206
|
-
this.onpinmessage(
|
|
35207
|
-
message.last_pin_message_event
|
|
35208
|
-
);
|
|
35196
|
+
this.onpinmessage(message.last_pin_message_event);
|
|
35209
35197
|
} else if (message.custom_status_event) {
|
|
35210
|
-
this.oncustomstatus(
|
|
35211
|
-
message.custom_status_event
|
|
35212
|
-
);
|
|
35198
|
+
this.oncustomstatus(message.custom_status_event);
|
|
35213
35199
|
} else if (message.canvas_event) {
|
|
35214
|
-
this.oncanvasevent(
|
|
35215
|
-
message.canvas_event
|
|
35216
|
-
);
|
|
35200
|
+
this.oncanvasevent(message.canvas_event);
|
|
35217
35201
|
} else if (message.user_channel_added_event) {
|
|
35218
|
-
this.onuserchanneladded(
|
|
35219
|
-
message.user_channel_added_event
|
|
35220
|
-
);
|
|
35202
|
+
this.onuserchanneladded(message.user_channel_added_event);
|
|
35221
35203
|
} else if (message.add_clan_user_event) {
|
|
35222
|
-
this.onuserclanadded(
|
|
35223
|
-
message.add_clan_user_event
|
|
35224
|
-
);
|
|
35204
|
+
this.onuserclanadded(message.add_clan_user_event);
|
|
35225
35205
|
} else if (message.user_profile_updated_event) {
|
|
35226
|
-
this.onuserprofileupdate(
|
|
35227
|
-
message.user_profile_updated_event
|
|
35228
|
-
);
|
|
35206
|
+
this.onuserprofileupdate(message.user_profile_updated_event);
|
|
35229
35207
|
} else if (message.user_channel_removed_event) {
|
|
35230
|
-
this.onuserchannelremoved(
|
|
35231
|
-
message.user_channel_removed_event
|
|
35232
|
-
);
|
|
35208
|
+
this.onuserchannelremoved(message.user_channel_removed_event);
|
|
35233
35209
|
} else if (message.block_friend) {
|
|
35234
35210
|
this.onblockfriend(message.block_friend);
|
|
35235
35211
|
} else if (message.un_block_friend) {
|
|
35236
|
-
this.onunblockfriend(
|
|
35237
|
-
message.un_block_friend
|
|
35238
|
-
);
|
|
35212
|
+
this.onunblockfriend(message.un_block_friend);
|
|
35239
35213
|
} else if (message.add_friend) {
|
|
35240
35214
|
this.onaddfriend(message.add_friend);
|
|
35241
35215
|
} else if (message.remove_friend) {
|
|
35242
|
-
this.onremovefriend(
|
|
35243
|
-
message.remove_friend
|
|
35244
|
-
);
|
|
35216
|
+
this.onremovefriend(message.remove_friend);
|
|
35245
35217
|
} else if (message.user_clan_removed_event) {
|
|
35246
|
-
this.onuserclanremoved(
|
|
35247
|
-
message.user_clan_removed_event
|
|
35248
|
-
);
|
|
35218
|
+
this.onuserclanremoved(message.user_clan_removed_event);
|
|
35249
35219
|
} else if (message.clan_event_created) {
|
|
35250
35220
|
this.oneventcreated(message.clan_event_created);
|
|
35251
35221
|
} else if (message.give_coffee_event) {
|
|
35252
|
-
this.oncoffeegiven(
|
|
35253
|
-
message.give_coffee_event
|
|
35254
|
-
);
|
|
35222
|
+
this.oncoffeegiven(message.give_coffee_event);
|
|
35255
35223
|
} else if (message.role_assign_event) {
|
|
35256
|
-
this.onroleassign(
|
|
35257
|
-
message.role_assign_event
|
|
35258
|
-
);
|
|
35224
|
+
this.onroleassign(message.role_assign_event);
|
|
35259
35225
|
} else if (message.streaming_started_event) {
|
|
35260
|
-
this.onstreamingchannelstarted(
|
|
35261
|
-
message.streaming_started_event
|
|
35262
|
-
);
|
|
35226
|
+
this.onstreamingchannelstarted(message.streaming_started_event);
|
|
35263
35227
|
} else if (message.streaming_ended_event) {
|
|
35264
|
-
this.onstreamingchannelended(
|
|
35265
|
-
message.streaming_ended_event
|
|
35266
|
-
);
|
|
35228
|
+
this.onstreamingchannelended(message.streaming_ended_event);
|
|
35267
35229
|
} else if (message.streaming_joined_event) {
|
|
35268
|
-
this.onstreamingchanneljoined(
|
|
35269
|
-
message.streaming_joined_event
|
|
35270
|
-
);
|
|
35230
|
+
this.onstreamingchanneljoined(message.streaming_joined_event);
|
|
35271
35231
|
} else if (message.streaming_leaved_event) {
|
|
35272
|
-
this.onstreamingchannelleaved(
|
|
35273
|
-
message.streaming_leaved_event
|
|
35274
|
-
);
|
|
35232
|
+
this.onstreamingchannelleaved(message.streaming_leaved_event);
|
|
35275
35233
|
} else if (message.permission_set_event) {
|
|
35276
|
-
this.onpermissionset(
|
|
35277
|
-
message.permission_set_event
|
|
35278
|
-
);
|
|
35234
|
+
this.onpermissionset(message.permission_set_event);
|
|
35279
35235
|
} else if (message.permission_changed_event) {
|
|
35280
|
-
this.onpermissionchanged(
|
|
35281
|
-
message.permission_changed_event
|
|
35282
|
-
);
|
|
35236
|
+
this.onpermissionchanged(message.permission_changed_event);
|
|
35283
35237
|
} else if (message.unmute_event) {
|
|
35284
35238
|
this.onunmuteevent(message.unmute_event);
|
|
35285
35239
|
} else if (message.token_sent_event) {
|
|
35286
|
-
this.ontokensent(
|
|
35287
|
-
message.token_sent_event
|
|
35288
|
-
);
|
|
35240
|
+
this.ontokensent(message.token_sent_event);
|
|
35289
35241
|
} else if (message.message_button_clicked) {
|
|
35290
|
-
this.onmessagebuttonclicked(
|
|
35291
|
-
message.message_button_clicked
|
|
35292
|
-
);
|
|
35242
|
+
this.onmessagebuttonclicked(message.message_button_clicked);
|
|
35293
35243
|
} else if (message.dropdown_box_selected) {
|
|
35294
|
-
this.onmessagedropdownboxselected(
|
|
35295
|
-
message.dropdown_box_selected
|
|
35296
|
-
);
|
|
35244
|
+
this.onmessagedropdownboxselected(message.dropdown_box_selected);
|
|
35297
35245
|
} else if (message.mark_as_read) {
|
|
35298
35246
|
this.onmarkasread(message.mark_as_read);
|
|
35299
35247
|
} else if (message.voice_reaction_send) {
|
|
35300
|
-
this.onvoicereactionmessage(
|
|
35301
|
-
message.voice_reaction_send
|
|
35302
|
-
);
|
|
35248
|
+
this.onvoicereactionmessage(message.voice_reaction_send);
|
|
35303
35249
|
} else if (message.webrtc_signaling_fwd) {
|
|
35304
|
-
this.onwebrtcsignalingfwd(
|
|
35305
|
-
message.webrtc_signaling_fwd
|
|
35306
|
-
);
|
|
35250
|
+
this.onwebrtcsignalingfwd(message.webrtc_signaling_fwd);
|
|
35307
35251
|
} else if (message.list_activity) {
|
|
35308
|
-
this.onactivityupdated(
|
|
35309
|
-
message.list_activity
|
|
35310
|
-
);
|
|
35252
|
+
this.onactivityupdated(message.list_activity);
|
|
35311
35253
|
} else if (message.sd_topic_event) {
|
|
35312
|
-
this.onsdtopicevent(
|
|
35313
|
-
message.sd_topic_event
|
|
35314
|
-
);
|
|
35254
|
+
this.onsdtopicevent(message.sd_topic_event);
|
|
35315
35255
|
} else if (message.channel_app_event) {
|
|
35316
|
-
this.onchannelappevent(
|
|
35317
|
-
message.channel_app_event
|
|
35318
|
-
);
|
|
35256
|
+
this.onchannelappevent(message.channel_app_event);
|
|
35319
35257
|
} else if (message.user_status_event) {
|
|
35320
|
-
this.onuserstatusevent(
|
|
35321
|
-
message.user_status_event
|
|
35322
|
-
);
|
|
35258
|
+
this.onuserstatusevent(message.user_status_event);
|
|
35323
35259
|
} else if (message.join_channel_app_data) {
|
|
35324
|
-
this.onjoinchannelappevent(
|
|
35325
|
-
message.join_channel_app_data
|
|
35326
|
-
);
|
|
35260
|
+
this.onjoinchannelappevent(message.join_channel_app_data);
|
|
35327
35261
|
} else if (message.unpin_message_event) {
|
|
35328
|
-
this.onunpinmessageevent(
|
|
35329
|
-
message.unpin_message_event
|
|
35330
|
-
);
|
|
35262
|
+
this.onunpinmessageevent(message.unpin_message_event);
|
|
35331
35263
|
} else if (message.quick_menu_event) {
|
|
35332
|
-
this.onquickmenuevent(
|
|
35333
|
-
message.quick_menu_event
|
|
35334
|
-
);
|
|
35264
|
+
this.onquickmenuevent(message.quick_menu_event);
|
|
35335
35265
|
} else if (message.meet_participant_event) {
|
|
35336
|
-
this.onmeetparticipantevent(
|
|
35337
|
-
message.meet_participant_event
|
|
35338
|
-
);
|
|
35266
|
+
this.onmeetparticipantevent(message.meet_participant_event);
|
|
35339
35267
|
} else if (message.transfer_ownership_event) {
|
|
35340
|
-
this.ontransferownership(
|
|
35341
|
-
message.transfer_ownership_event
|
|
35342
|
-
);
|
|
35268
|
+
this.ontransferownership(message.transfer_ownership_event);
|
|
35343
35269
|
} else if (message.ban_user_event) {
|
|
35344
|
-
this.onbanneduser(
|
|
35345
|
-
message.ban_user_event
|
|
35346
|
-
);
|
|
35270
|
+
this.onbanneduser(message.ban_user_event);
|
|
35347
35271
|
} else if (message.allow_anonymous_event) {
|
|
35348
|
-
this.onallowanonymousevent(
|
|
35349
|
-
message.allow_anonymous_event
|
|
35350
|
-
);
|
|
35272
|
+
this.onallowanonymousevent(message.allow_anonymous_event);
|
|
35351
35273
|
} else {
|
|
35352
35274
|
if (this.verbose && window && window.console) {
|
|
35353
35275
|
console.log("Unrecognized message received: %o", message);
|
package/dist/mezon-js.esm.mjs
CHANGED
|
@@ -35152,176 +35152,98 @@ var _DefaultSocket = class _DefaultSocket {
|
|
|
35152
35152
|
message.last_seen_message_event
|
|
35153
35153
|
);
|
|
35154
35154
|
} else if (message.status_presence_event) {
|
|
35155
|
-
this.onstatuspresence(
|
|
35156
|
-
message.status_presence_event
|
|
35157
|
-
);
|
|
35155
|
+
this.onstatuspresence(message.status_presence_event);
|
|
35158
35156
|
} else if (message.stream_presence_event) {
|
|
35159
|
-
this.onstreampresence(
|
|
35160
|
-
message.stream_presence_event
|
|
35161
|
-
);
|
|
35157
|
+
this.onstreampresence(message.stream_presence_event);
|
|
35162
35158
|
} else if (message.stream_data) {
|
|
35163
35159
|
this.onstreamdata(message.stream_data);
|
|
35164
35160
|
} else if (message.channel_message) {
|
|
35165
35161
|
const channelMessage = createChannelMessageFromEvent(message);
|
|
35166
35162
|
this.onchannelmessage(channelMessage);
|
|
35167
35163
|
} else if (message.message_typing_event) {
|
|
35168
|
-
this.onmessagetyping(
|
|
35169
|
-
message.message_typing_event
|
|
35170
|
-
);
|
|
35164
|
+
this.onmessagetyping(message.message_typing_event);
|
|
35171
35165
|
} else if (message.message_reaction_event) {
|
|
35172
|
-
this.onmessagereaction(
|
|
35173
|
-
message.message_reaction_event
|
|
35174
|
-
);
|
|
35166
|
+
this.onmessagereaction(message.message_reaction_event);
|
|
35175
35167
|
} else if (message.channel_presence_event) {
|
|
35176
|
-
this.onchannelpresence(
|
|
35177
|
-
message.channel_presence_event
|
|
35178
|
-
);
|
|
35168
|
+
this.onchannelpresence(message.channel_presence_event);
|
|
35179
35169
|
} else if (message.last_pin_message_event) {
|
|
35180
|
-
this.onpinmessage(
|
|
35181
|
-
message.last_pin_message_event
|
|
35182
|
-
);
|
|
35170
|
+
this.onpinmessage(message.last_pin_message_event);
|
|
35183
35171
|
} else if (message.custom_status_event) {
|
|
35184
|
-
this.oncustomstatus(
|
|
35185
|
-
message.custom_status_event
|
|
35186
|
-
);
|
|
35172
|
+
this.oncustomstatus(message.custom_status_event);
|
|
35187
35173
|
} else if (message.canvas_event) {
|
|
35188
|
-
this.oncanvasevent(
|
|
35189
|
-
message.canvas_event
|
|
35190
|
-
);
|
|
35174
|
+
this.oncanvasevent(message.canvas_event);
|
|
35191
35175
|
} else if (message.user_channel_added_event) {
|
|
35192
|
-
this.onuserchanneladded(
|
|
35193
|
-
message.user_channel_added_event
|
|
35194
|
-
);
|
|
35176
|
+
this.onuserchanneladded(message.user_channel_added_event);
|
|
35195
35177
|
} else if (message.add_clan_user_event) {
|
|
35196
|
-
this.onuserclanadded(
|
|
35197
|
-
message.add_clan_user_event
|
|
35198
|
-
);
|
|
35178
|
+
this.onuserclanadded(message.add_clan_user_event);
|
|
35199
35179
|
} else if (message.user_profile_updated_event) {
|
|
35200
|
-
this.onuserprofileupdate(
|
|
35201
|
-
message.user_profile_updated_event
|
|
35202
|
-
);
|
|
35180
|
+
this.onuserprofileupdate(message.user_profile_updated_event);
|
|
35203
35181
|
} else if (message.user_channel_removed_event) {
|
|
35204
|
-
this.onuserchannelremoved(
|
|
35205
|
-
message.user_channel_removed_event
|
|
35206
|
-
);
|
|
35182
|
+
this.onuserchannelremoved(message.user_channel_removed_event);
|
|
35207
35183
|
} else if (message.block_friend) {
|
|
35208
35184
|
this.onblockfriend(message.block_friend);
|
|
35209
35185
|
} else if (message.un_block_friend) {
|
|
35210
|
-
this.onunblockfriend(
|
|
35211
|
-
message.un_block_friend
|
|
35212
|
-
);
|
|
35186
|
+
this.onunblockfriend(message.un_block_friend);
|
|
35213
35187
|
} else if (message.add_friend) {
|
|
35214
35188
|
this.onaddfriend(message.add_friend);
|
|
35215
35189
|
} else if (message.remove_friend) {
|
|
35216
|
-
this.onremovefriend(
|
|
35217
|
-
message.remove_friend
|
|
35218
|
-
);
|
|
35190
|
+
this.onremovefriend(message.remove_friend);
|
|
35219
35191
|
} else if (message.user_clan_removed_event) {
|
|
35220
|
-
this.onuserclanremoved(
|
|
35221
|
-
message.user_clan_removed_event
|
|
35222
|
-
);
|
|
35192
|
+
this.onuserclanremoved(message.user_clan_removed_event);
|
|
35223
35193
|
} else if (message.clan_event_created) {
|
|
35224
35194
|
this.oneventcreated(message.clan_event_created);
|
|
35225
35195
|
} else if (message.give_coffee_event) {
|
|
35226
|
-
this.oncoffeegiven(
|
|
35227
|
-
message.give_coffee_event
|
|
35228
|
-
);
|
|
35196
|
+
this.oncoffeegiven(message.give_coffee_event);
|
|
35229
35197
|
} else if (message.role_assign_event) {
|
|
35230
|
-
this.onroleassign(
|
|
35231
|
-
message.role_assign_event
|
|
35232
|
-
);
|
|
35198
|
+
this.onroleassign(message.role_assign_event);
|
|
35233
35199
|
} else if (message.streaming_started_event) {
|
|
35234
|
-
this.onstreamingchannelstarted(
|
|
35235
|
-
message.streaming_started_event
|
|
35236
|
-
);
|
|
35200
|
+
this.onstreamingchannelstarted(message.streaming_started_event);
|
|
35237
35201
|
} else if (message.streaming_ended_event) {
|
|
35238
|
-
this.onstreamingchannelended(
|
|
35239
|
-
message.streaming_ended_event
|
|
35240
|
-
);
|
|
35202
|
+
this.onstreamingchannelended(message.streaming_ended_event);
|
|
35241
35203
|
} else if (message.streaming_joined_event) {
|
|
35242
|
-
this.onstreamingchanneljoined(
|
|
35243
|
-
message.streaming_joined_event
|
|
35244
|
-
);
|
|
35204
|
+
this.onstreamingchanneljoined(message.streaming_joined_event);
|
|
35245
35205
|
} else if (message.streaming_leaved_event) {
|
|
35246
|
-
this.onstreamingchannelleaved(
|
|
35247
|
-
message.streaming_leaved_event
|
|
35248
|
-
);
|
|
35206
|
+
this.onstreamingchannelleaved(message.streaming_leaved_event);
|
|
35249
35207
|
} else if (message.permission_set_event) {
|
|
35250
|
-
this.onpermissionset(
|
|
35251
|
-
message.permission_set_event
|
|
35252
|
-
);
|
|
35208
|
+
this.onpermissionset(message.permission_set_event);
|
|
35253
35209
|
} else if (message.permission_changed_event) {
|
|
35254
|
-
this.onpermissionchanged(
|
|
35255
|
-
message.permission_changed_event
|
|
35256
|
-
);
|
|
35210
|
+
this.onpermissionchanged(message.permission_changed_event);
|
|
35257
35211
|
} else if (message.unmute_event) {
|
|
35258
35212
|
this.onunmuteevent(message.unmute_event);
|
|
35259
35213
|
} else if (message.token_sent_event) {
|
|
35260
|
-
this.ontokensent(
|
|
35261
|
-
message.token_sent_event
|
|
35262
|
-
);
|
|
35214
|
+
this.ontokensent(message.token_sent_event);
|
|
35263
35215
|
} else if (message.message_button_clicked) {
|
|
35264
|
-
this.onmessagebuttonclicked(
|
|
35265
|
-
message.message_button_clicked
|
|
35266
|
-
);
|
|
35216
|
+
this.onmessagebuttonclicked(message.message_button_clicked);
|
|
35267
35217
|
} else if (message.dropdown_box_selected) {
|
|
35268
|
-
this.onmessagedropdownboxselected(
|
|
35269
|
-
message.dropdown_box_selected
|
|
35270
|
-
);
|
|
35218
|
+
this.onmessagedropdownboxselected(message.dropdown_box_selected);
|
|
35271
35219
|
} else if (message.mark_as_read) {
|
|
35272
35220
|
this.onmarkasread(message.mark_as_read);
|
|
35273
35221
|
} else if (message.voice_reaction_send) {
|
|
35274
|
-
this.onvoicereactionmessage(
|
|
35275
|
-
message.voice_reaction_send
|
|
35276
|
-
);
|
|
35222
|
+
this.onvoicereactionmessage(message.voice_reaction_send);
|
|
35277
35223
|
} else if (message.webrtc_signaling_fwd) {
|
|
35278
|
-
this.onwebrtcsignalingfwd(
|
|
35279
|
-
message.webrtc_signaling_fwd
|
|
35280
|
-
);
|
|
35224
|
+
this.onwebrtcsignalingfwd(message.webrtc_signaling_fwd);
|
|
35281
35225
|
} else if (message.list_activity) {
|
|
35282
|
-
this.onactivityupdated(
|
|
35283
|
-
message.list_activity
|
|
35284
|
-
);
|
|
35226
|
+
this.onactivityupdated(message.list_activity);
|
|
35285
35227
|
} else if (message.sd_topic_event) {
|
|
35286
|
-
this.onsdtopicevent(
|
|
35287
|
-
message.sd_topic_event
|
|
35288
|
-
);
|
|
35228
|
+
this.onsdtopicevent(message.sd_topic_event);
|
|
35289
35229
|
} else if (message.channel_app_event) {
|
|
35290
|
-
this.onchannelappevent(
|
|
35291
|
-
message.channel_app_event
|
|
35292
|
-
);
|
|
35230
|
+
this.onchannelappevent(message.channel_app_event);
|
|
35293
35231
|
} else if (message.user_status_event) {
|
|
35294
|
-
this.onuserstatusevent(
|
|
35295
|
-
message.user_status_event
|
|
35296
|
-
);
|
|
35232
|
+
this.onuserstatusevent(message.user_status_event);
|
|
35297
35233
|
} else if (message.join_channel_app_data) {
|
|
35298
|
-
this.onjoinchannelappevent(
|
|
35299
|
-
message.join_channel_app_data
|
|
35300
|
-
);
|
|
35234
|
+
this.onjoinchannelappevent(message.join_channel_app_data);
|
|
35301
35235
|
} else if (message.unpin_message_event) {
|
|
35302
|
-
this.onunpinmessageevent(
|
|
35303
|
-
message.unpin_message_event
|
|
35304
|
-
);
|
|
35236
|
+
this.onunpinmessageevent(message.unpin_message_event);
|
|
35305
35237
|
} else if (message.quick_menu_event) {
|
|
35306
|
-
this.onquickmenuevent(
|
|
35307
|
-
message.quick_menu_event
|
|
35308
|
-
);
|
|
35238
|
+
this.onquickmenuevent(message.quick_menu_event);
|
|
35309
35239
|
} else if (message.meet_participant_event) {
|
|
35310
|
-
this.onmeetparticipantevent(
|
|
35311
|
-
message.meet_participant_event
|
|
35312
|
-
);
|
|
35240
|
+
this.onmeetparticipantevent(message.meet_participant_event);
|
|
35313
35241
|
} else if (message.transfer_ownership_event) {
|
|
35314
|
-
this.ontransferownership(
|
|
35315
|
-
message.transfer_ownership_event
|
|
35316
|
-
);
|
|
35242
|
+
this.ontransferownership(message.transfer_ownership_event);
|
|
35317
35243
|
} else if (message.ban_user_event) {
|
|
35318
|
-
this.onbanneduser(
|
|
35319
|
-
message.ban_user_event
|
|
35320
|
-
);
|
|
35244
|
+
this.onbanneduser(message.ban_user_event);
|
|
35321
35245
|
} else if (message.allow_anonymous_event) {
|
|
35322
|
-
this.onallowanonymousevent(
|
|
35323
|
-
message.allow_anonymous_event
|
|
35324
|
-
);
|
|
35246
|
+
this.onallowanonymousevent(message.allow_anonymous_event);
|
|
35325
35247
|
} else {
|
|
35326
35248
|
if (this.verbose && window && window.console) {
|
|
35327
35249
|
console.log("Unrecognized message received: %o", message);
|