Skip to content

Commit

Permalink
Unlock interoperability with Pantalaimon
Browse files Browse the repository at this point in the history
Fixes #663.
  • Loading branch information
KitsuneRal committed Mar 24, 2020
1 parent 186976a commit 4ee93f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/chatroomwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,10 @@ void ChatRoomWidget::typingChanged()

void ChatRoomWidget::encryptionChanged()
{
m_chatEdit->setReadOnly(m_currentRoom && m_currentRoom->usesEncryption());
m_chatEdit->setPlaceholderText(
m_currentRoom
? m_currentRoom->usesEncryption()
? tr("Sending encrypted messages is not supported yet")
? tr("Send a message (no end-to-end encryption support yet)...")
: tr("Send a message (over %1) or enter a command...",
"%1 is the protocol used by the server (usually HTTPS)")
.arg(m_currentRoom->connection()->homeserver()
Expand Down

0 comments on commit 4ee93f2

Please sign in to comment.