1 | static void postToChatNamed(S chatName, S text) { |
2 | if (empty(chatName)) ret; |
3 | if (eqic(chatName, "Stefan's Chat")) |
4 | postToStefansChat(text); |
5 | else if (eqic(chatName, "Smart Bot's Chat")) |
6 | postToSmartBotsChat(text); |
7 | else |
8 | warn("Unknown chat name: " + chatName); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013094 |
Snippet name: | postToChatNamed |
Eternal ID of this version: | #1013094/2 |
Text MD5: | e1df4ad9d53c570500990b8d8c3344fc |
Author: | stefan |
Category: | javax / chat |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-25 05:53:09 |
Source code size: | 284 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 441 |
Version history: | 1 change(s) |
Referenced in: | [show references] |