"WHOIS" action does not query idle time like Quassel desktop
Steps
- Connect to core with QuasselDroid and Quassel desktop
- Join an IRC server with multiple linked servers
- Find an IRC nickname on a server node different than your own
- E.g.
tolkien.freenode.net
vs.hobana.freenode.net
- E.g.
-
/whois nickname
, specifying the nickname once -
/whois nickname nickname
, specifying the nickname twice - On Quassel desktop, right-click nickname,
Whois
- On QuasselDroid, go to user information, tap
Whois
Expected
The Whois output from Quassel desktop and QuasselDroid match that of the /whois nickname nickname
command, allowing you to see idle time across servers.
Actual
Quassel desktop Whois output matches the double nickname, but QuasselDroid only matches the single nickname /whois nickname
command, not showing idle time in the status buffer.
Additional
UserInfoFragment.kt
needs changed here, from…
session.rpcHandler?.sendInput(statusInfo, "/whois ${user.nick()}")
…to…
session.rpcHandler?.sendInput(statusInfo, "/whois ${user.nick()} ${user.nick()}")
This would match Quassel desktop's NickWhois
action in networkmodelcontroller.cpp
…
Client::userInput(bufferInfo, QString("/WHOIS %1 %1").arg(nick));
I'd have filed a merge request, but I wasn't able to easily figure it out. Next time I'll read the documentation