please include function stefansChat_onLine. // n = max number of lines to get (from most recent) static L<ChatMsg> stefansChat_readHistory_fullMsgs(int n) { int b = stefansChat_onLine_firstRead; if (b < 0) b = stefansChat_n(); int a = max(0, b-n); ret stefansChat_readHistory_fullMsgs(a, b); } static L<ChatMsg> stefansChat_readHistory_fullMsgs(int a, int b) { L<Map> msgs = (L) safeUnstruct(loadPage("http://botcompany.de/1008998/raw/msgs-from-to?a=" + a + "&b=" + b)); ret mapsToObjects(msgs, ChatMsg); }
Began life as a copy of #1010756
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: | #1010816 |
Snippet name: | stefansChat_readHistory_fullMsgs |
Eternal ID of this version: | #1010816/4 |
Text MD5: | be0fa357b67c8340e04b73408721a2d2 |
Author: | stefan |
Category: | javax / chat |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-14 21:49:50 |
Source code size: | 535 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 444 / 490 |
Version history: | 3 change(s) |
Referenced in: | [show references] |