Fixed chat state value, should be chat not chatty.

This commit is contained in:
JC Brand 2016-08-23 08:43:20 +00:00
parent c6d37b57e7
commit a2ba3ccd4c
3 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,8 @@
- Update the 'rooms' API to allow user to pass in room attributes. [jcbrand]
- Add new configuration setting [message_storage](https://conversejs.org/docs/html/configuration.html#message_storage) [jcbrand]
- Hardcode the storage for roster contacts and chatroom occupants to `sessionStorage`. [jcbrand]
- Fixed wrong chat state value, should be `chat`, not `chatty`.
See [RFC 3921](https://xmpp.org/rfcs/rfc3921.html#rfc.section.2.1.2.2). [jcbrand]
## 1.0.6 (2016-08-12)
- #632 Offline and Logout states do not properly update once users start

View File

@ -126,7 +126,7 @@
label_state: __('State'),
label_any: __('Any'),
label_online: __('Online'),
label_chatty: __('Chatty'),
label_chatty: __('Chat'),
label_busy: __('Busy'),
label_away: __('Away'),
label_xa: __('Extended Away'),

View File

@ -6,8 +6,8 @@
<option value="">{{label_any}}</option>
<option {[ if (chat_state === 'online') { ]} selected="selected" {[ } ]}
value="online">{{label_online}}</option>
<option {[ if (chat_state === 'chatty') { ]} selected="selected" {[ } ]}
value="chatty">{{label_chatty}}</option>
<option {[ if (chat_state === 'chat') { ]} selected="selected" {[ } ]}
value="chat">{{label_chatty}}</option>
<option {[ if (chat_state === 'dnd') { ]} selected="selected" {[ } ]}
value="dnd">{{label_busy}}</option>
<option {[ if (chat_state === 'away') { ]} selected="selected" {[ } ]}