mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Don't unsubscribe from chat or armored chat breaks too
This commit is contained in:
parent
db6049f159
commit
04b825c272
1 changed files with 0 additions and 2 deletions
|
@ -205,12 +205,10 @@ AvatarList.avatarSessionChangedEvent.connect((_, oldSessionID) => ChatBubbles_De
|
||||||
settings = Settings.getValue("ChatBubbles-Config", settings);
|
settings = Settings.getValue("ChatBubbles-Config", settings);
|
||||||
Messages.messageReceived.connect(ChatBubbles_RecvMsg);
|
Messages.messageReceived.connect(ChatBubbles_RecvMsg);
|
||||||
Messages.subscribe(TYPING_NOTIFICATION_CHANNEL);
|
Messages.subscribe(TYPING_NOTIFICATION_CHANNEL);
|
||||||
Messages.subscribe("chat");
|
|
||||||
|
|
||||||
Script.scriptEnding.connect(() => {
|
Script.scriptEnding.connect(() => {
|
||||||
Settings.setValue("ChatBubbles-Config", settings);
|
Settings.setValue("ChatBubbles-Config", settings);
|
||||||
Messages.messageReceived.disconnect(ChatBubbles_RecvMsg);
|
Messages.messageReceived.disconnect(ChatBubbles_RecvMsg);
|
||||||
Messages.unsubscribe(TYPING_NOTIFICATION_CHANNEL);
|
Messages.unsubscribe(TYPING_NOTIFICATION_CHANNEL);
|
||||||
Messages.unsubscribe("chat");
|
|
||||||
ChatBubbles_DeleteAll();
|
ChatBubbles_DeleteAll();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue