Software /
code /
prosody
Comparison
plugins/mod_carbons.lua @ 10780:22bbc644c5eb
mod_carbons: Fix syntax error [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Apr 2020 21:11:00 +0200 |
parent | 10779:d95e083931d1 |
child | 10781:f7e8d299513f |
comparison
equal
deleted
inserted
replaced
10779:d95e083931d1 | 10780:22bbc644c5eb |
---|---|
28 | 28 |
29 if stanza:get_child("no-copy", "urn:xmpp:hints") then | 29 if stanza:get_child("no-copy", "urn:xmpp:hints") then |
30 return false, "hint"; | 30 return false, "hint"; |
31 end | 31 end |
32 | 32 |
33 if not c2s and and stanza.attr.to ~= user_bare and stanza:get_child("x", "http://jabber.org/protocol/muc#user") then | 33 if not c2s and stanza.attr.to ~= user_bare and stanza:get_child("x", "http://jabber.org/protocol/muc#user") then |
34 -- MUC PMs are normally sent to full JIDs | 34 -- MUC PMs are normally sent to full JIDs |
35 return false, "muc-pm"; | 35 return false, "muc-pm"; |
36 end | 36 end |
37 | 37 |
38 if st_type == "chat" then | 38 if st_type == "chat" then |