wcolling

Member

Last active 7 years ago

  1. 10 years ago
    Sat Oct 4 15:08:32 2014
    wcolling started the conversation Use of Away in Presence Values.

    We were trying to change the list of Presence values available in the operator panel to match one of our other products. I modified presence.js to add the values. One of the values I added was Away.

    presence['Away'] = '#57BCD9';

    This displays correctly in the operator panel, but when the user selects this value, the whole UI refreshes. I checked the log and it appears that Away is treated differently than the other values:

    75.85.95.105:50844 <= <msg data="22|setastdb|fop2state~4159672901~Away|45fb798c307825f033feb1bb61e587b6" />

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database put fop2state USER/4159672901 "^C^F²"

    127.0.0.1 -> Action: UserEvent
    127.0.0.1 -> UserEvent: FOP2ASTDB
    127.0.0.1 -> Family: fop2state
    127.0.0.1 -> Key: USER/4159672901
    127.0.0.1 -> Channel: USER/4159672901
    127.0.0.1 -> Value: ^C^F²

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- Updated database successfully
    --END COMMAND--

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Event Sent

    The other values appear to work as expected. What is special about Away? Is there some way we can use the value Away?

  2. Fri Oct 3 16:19:27 2014
    wcolling joined the forum.