add SIGNORE: personal mutual server-side ignore across channels and PMs
This commit is contained in:
parent
2c9ce18cd7
commit
6c5f330746
5 changed files with 107 additions and 1 deletions
|
|
@ -599,7 +599,8 @@ pub(crate) fn deliver(s: &mut Server, uid: Uid, params: &[String], notice: bool)
|
|||
}
|
||||
// SILENCE: if the recipient silenced the sender, drop it silently — the
|
||||
// sender is never told (that's the point), but still gets their own echo.
|
||||
let silenced = s.is_silenced(tuid, &prefix);
|
||||
// SIGNORE is mutual: drop if either party server-ignores the other.
|
||||
let silenced = s.is_silenced(tuid, &prefix) || s.signore_blocks(uid, tuid);
|
||||
let pm = format!(":{prefix} {cmd} {target} :{text}");
|
||||
let ctags = s.line_ctags.clone();
|
||||
let msgid = s.next_msgid();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue