diff options
Diffstat (limited to 'xP/public/xP.js')
-rw-r--r-- | xP/public/xP.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js index f418d50..7bbf530 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -328,6 +328,7 @@ rpcEventHandlers.set(Relay.Event.BufferUpdate, e => { b.kind = e.context.kind b.server = servers.get(e.context.serverName) b.topic = e.context.topic + b.modes = e.context.modes }) rpcEventHandlers.set(Relay.Event.BufferStats, e => { @@ -702,6 +703,8 @@ let Status = { return m('.status', {}, 'Synchronizing...') let status = `${bufferCurrent}` + if (b.modes) + status += `(+${b.modes})` if (b.hideUnimportant) status += `<H>` return m('.status', {}, [status, m(Toolbar)]) @@ -716,8 +719,8 @@ let Prompt = { if (b.server.data.user !== undefined) { let user = b.server.data.user - if (b.server.data.userMode) - user += `(${b.server.data.userMode})` + if (b.server.data.userModes) + user += `(${b.server.data.userModes})` return m('.prompt', {}, `${user}`) } |