docs: mention empty return

This commit is contained in:
Nerixyz 2024-10-20 11:49:24 +02:00
parent 1f5e99cd55
commit 3ca3b63f4e
No known key found for this signature in database
GPG key ID: 946BA188C5609CCC

View file

@ -245,7 +245,9 @@ public:
/// not need to be the `thread`s root. If this message isn't /// not need to be the `thread`s root. If this message isn't
/// replying to anything, this is an empty `shared_ptr`. /// replying to anything, this is an empty `shared_ptr`.
/// ///
/// @returns The built message and a highlight result. /// @returns The built message and a highlight result. If the message is
/// ignored (e.g. from a blocked user), then the returned pointer
/// will be en empty `shared_ptr`.
static std::pair<MessagePtrMut, HighlightAlert> makeIrcMessage( static std::pair<MessagePtrMut, HighlightAlert> makeIrcMessage(
Channel *channel, const Communi::IrcMessage *ircMessage, Channel *channel, const Communi::IrcMessage *ircMessage,
const MessageParseArgs &args, QString content, const MessageParseArgs &args, QString content,