mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-26 15:32:08 +00:00
Fix third column profile in topics.
This commit is contained in:
@@ -37,6 +37,11 @@ const PeerNotifySettings &Thread::notify() const {
|
||||
return const_cast<Thread*>(this)->notify();
|
||||
}
|
||||
|
||||
bool Thread::canWrite() const {
|
||||
const auto topic = asTopic();
|
||||
return topic ? topic->canWrite() : peer()->canWrite();
|
||||
}
|
||||
|
||||
void Thread::setUnreadThingsKnown() {
|
||||
_flags |= Flag::UnreadThingsKnown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user