The Lambda Lab
/
projects
/
lurk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
606ea58
)
Reinstated topic messages.
author
plugd
<plugd@thelambdalab.xyz>
Sun, 19 May 2024 22:19:49 +0000
(
00:19
+0200)
committer
plugd
<plugd@thelambdalab.xyz>
Sun, 26 May 2024 19:14:04 +0000
(21:14 +0200)
murk.el
patch
|
blob
|
history
diff --git
a/murk.el
b/murk.el
index
035c358
..
ffe10e6
100644
(file)
--- a/
murk.el
+++ b/
murk.el
@@
-632,6
+632,18
@@
The head of this list is always the current context.")
" users in " channel)
(murk-display-notice nil "End of " channel " names list."))))
" users in " channel)
(murk-display-notice nil "End of " channel " names list."))))
+ ("331"
+ (let* ((params (murk-msg-params msg))
+ (channel (elt params 1))
+ (ctx (murk-get-context server channel)))
+ (murk-display-notice ctx "No topic set.")))
+
+ ("332"
+ (let* ((params (murk-msg-params msg))
+ (channel (elt params 1))
+ (topic (elt params 2))
+ (ctx (murk-get-context server channel)))
+ (murk-display-notice ctx "Topic: " topic)))
((rx (= 3 (any digit)))
(murk-display-notice nil (mapconcat 'identity (cdr (murk-msg-params msg)) " ")))
((rx (= 3 (any digit)))
(murk-display-notice nil (mapconcat 'identity (cdr (murk-msg-params msg)) " ")))