Repository navigation
Fixed restricted users' usernames not being clickable - #5405
Conversation
It's more of an "author" anyway then a regular mention
|
|
||
| MessageElement *MentionElement::setLink(const Link &link) | ||
| { | ||
| assert(false && "MentionElement::setLink should not be called. Pass " |
There was a problem hiding this comment.
warning: no header providing "assert" is directly included [misc-include-cleaner]
src/messages/MessageElement.cpp:15:
+ #include <cassert>
Can you please also check how irc user cards work after this change? I am unable to do it for most of today |
The author is unchanged, both open usercards of the name Mentions are unchanged, they don't open anything I don't have to merge this in right now, so I can let you give it a try as well |
|
|
||
| MessageElement *MentionElement::setLink(const Link &link) | ||
| { | ||
| assert(false && "MentionElement::setLink should not be called. Pass " |
There was a problem hiding this comment.
warning: no header providing "assert" is directly included [misc-include-cleaner]
src/messages/MessageElement.cpp:15:
+ #include <cassert>
also made the linking be automatic from now on, ensuring we don't make the same mistake again with MentionElements