From dc9260c8e6f455fbf2cc0eec1bc96ad6ae44b394 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 29 Aug 2023 19:57:12 -0700 Subject: [PATCH] Restore presence messages for non-join, non-leave --- web/static/js/BareRTC.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index 28a356a..178dceb 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -927,7 +927,8 @@ const app = Vue.createApp({ } // Push it to the history of all public channels (depending on user preference). - if ((isJoin && this.prefs.joinMessages) || (isLeave && this.prefs.exitMessages)) { + if ((isJoin && this.prefs.joinMessages) || (isLeave && this.prefs.exitMessages) + || (!isJoin && !isLeave)) { for (let channel of this.config.channels) { this.pushHistory({ channel: channel.ID,