Remove ifdefs for E2EE

This commit is contained in:
Tobias Fella
2023-08-07 22:38:25 +02:00
committed by Carl Schwan
parent 3ab04583ae
commit 67453d9fb8
11 changed files with 2 additions and 30 deletions

View File

@@ -1812,10 +1812,7 @@ void NeoChatRoom::editLastMessage()
bool NeoChatRoom::canEncryptRoom() const
{
#ifdef Quotient_E2EE_ENABLED
return !usesEncryption() && canSendState("m.room.encryption");
#endif
return false;
}
PollHandler *NeoChatRoom::poll(const QString &eventId)