mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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