Skip to content

Commit

Permalink
chathistory: Advertise MSGREFTYPES ISUPPORT token
Browse files Browse the repository at this point in the history
  • Loading branch information
progval authored and spb committed Apr 14, 2024
1 parent bab5ff4 commit 801fd69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sable_ircd/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ impl ClientServer {

ret.add(ISupportEntry::string("CHANMODES", &chanmodes));

// https://ircv3.net/specs/extensions/chathistory#isupport-tokens
// 'msgid' not supported yet
ret.add(ISupportEntry::string("MSGREFTYPES", "timestamp"));

let prefix_modes: String = MembershipFlagSet::all().map(|m| m.1).iter().collect();
let prefix_chars: String = MembershipFlagSet::all().map(|m| m.2).iter().collect();

Expand Down

0 comments on commit 801fd69

Please sign in to comment.