mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Support separate message type group restrictions.
This commit is contained in:
@@ -44,11 +44,6 @@ 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