-
Notifications
You must be signed in to change notification settings - Fork 1
Xpress Message Functionality
Damon Getsman edited this page Mar 19, 2015
·
3 revisions
Various methods, etc, exist in this file that are necessary for proper determination of who is active online, currently, and for sending of the new 'Xpress messages' through telegram channels from the standard BBS API.
-
populate()
- populates a list (returned in anArray()
) of the users currently online -
reportOnlineTime()
- returns a string properly formatted for the long wholist consisting of the hours:minutes that a user has been online -
list_long()
- a 'long' version of the wholist, which is now custom code to make the wholist look as much like standard or vDOC as possible; for instance, the doing field is now implemented. NOTE: This method is a monolith and needs to be chopped up a bit -
list_short()
- my own, short, version of the wholist; it needs a little bit of work but is certainly functional; now implements multi-columns
-
readBuf()
- reads text for the express message, testing for ABORT and the like -
chkRcp()
- verifies that the recipient of the message is a valid target (need to add functionality for whether or not that user needs to be logged in) -
sendX()
- actually ties in the with the telegram functionality and sends the message to the corresponding node