1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
louiz’ 8b007c8bc8 Add text-private in the possible ad-hoc field types 2016-08-11 11:29:41 +02:00
louiz’ d4c5b8f4da Rename the ad-hoc status “execute” into “executing”
From http://xmpp.org/extensions/xep-0050.html#desc-command only “executing”
is valid.
2016-08-11 11:28:46 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const (
ActionAdHocNext = "next"
ActionAdHocCancel = "cancel"
StatusAdHocExecute = "execute"
StatusAdHocExecute = "executing"
StatusAdHocCompleted = "completed"
StatusAdHocCanceled = "canceled"
@ -30,6 +30,7 @@ const (
TypeAdHocFieldListSingle = "list-single"
TypeAdHocFieldTextSingle = "text-single"
TypeAdHocFieldJidSingle = "jid-single"
TypeAdHocFieldTextPrivate = "text-private"
)
type AdHocCommand struct {