1
0
mirror of synced 2024-11-24 22:16:05 +03:00

Merge pull request #19 from gwinn/master

cleanup available values
This commit is contained in:
Alex Lushpai 2018-08-17 15:37:54 +03:00 committed by GitHub
commit 7185cc94c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -84,7 +84,7 @@ func (c *MgClient) ActivateTransportChannel(request Channel) (ActivateResponse,
// "message_read",
// },
// Settings: ChannelSettings{
// ReceiveMessageMode: MsgModeTimeLimited,
// ReceiveMessageMode: MsgModeNever,
// SpamAllowed: false,
// Features: ChannelFeatures{
// StatusDelivered: ChannelFeatureNone,

View File

@ -61,7 +61,7 @@ func TestMgClient_ActivateNewTransportChannel(t *testing.T) {
"message_read",
},
Settings: ChannelSettings{
ReceiveMessageMode: MsgModeTimeLimited,
ReceiveMessageMode: MsgModeNever,
SpamAllowed: false,
Features: ChannelFeatures{
StatusDelivered: ChannelFeatureNone,

View File

@ -12,7 +12,6 @@ const (
ChannelFeatureBoth string = "both"
MsgModeNever string = "never"
MsgModeTimeLimited string = "time-limited"
MsgModeAlways string = "always"
)