summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2020-05-18 21:13:41 -0400
committerJoseph Donofry <joedonofry@gmail.com>2020-05-18 21:13:41 -0400
commit1c521d1711aaa39feef83bf6c82617a335d32b5b (patch)
tree581956ecbe719360d98a092489dd0fca4252ee67 /src/TextInputWidget.cpp
parentFix crash when reacting to messages from /sync (diff)
parentadd a bit of additional logging to image paste (diff)
downloadnheko-1c521d1711aaa39feef83bf6c82617a335d32b5b.tar.xz
Merge origin/master into reactions
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index af5c278e..3e3915bb 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -279,6 +279,7 @@ FilteredTextEdit::canInsertFromMimeData(const QMimeData *source) const void FilteredTextEdit::insertFromMimeData(const QMimeData *source) { + qInfo() << "Got mime formats: \n" << source->formats(); const auto formats = source->formats().filter("/"); const auto image = formats.filter("image/", Qt::CaseInsensitive); const auto audio = formats.filter("audio/", Qt::CaseInsensitive); @@ -576,6 +577,8 @@ TextInputWidget::command(QString command, QString args) sendBanRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1)); } else if (command == "unban") { sendUnbanRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1)); + } else if (command == "roomnick") { + changeRoomNick(args); } else if (command == "shrug") { sendTextMessage("¯\\_(ツ)_/¯"); } else if (command == "fliptable") {