Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] handle room name change event #532

Closed
dcsan opened this issue May 22, 2017 · 3 comments
Closed

[enhancement] handle room name change event #532

dcsan opened this issue May 22, 2017 · 3 comments

Comments

@dcsan
Copy link

dcsan commented May 22, 2017

(low priority) feature request.

currently when a user changes the roomname, ERROR unknown type Message is returned.
it might be useful to trap this message in future.

ERROR unknown type Message {
  rawObj: 
   { MsgId: 'xxx',
     FromUserName: '@@xxx',
     ToUserName: '@xx',
     MsgType: 10000,
     Content: '你修改群名为“Bottesting2”',
     Status: 4,
     ImgStatus: 1,
     CreateTime: 1495445961,
     VoiceLength: 0,
     PlayLength: 0,
     FileName: '',
     FileSize: '',
     MediaId: '',
     Url: '',
     AppMsgType: 0,
     StatusNotifyCode: 0,
     StatusNotifyUserName: '',
     RecommendInfo: 
      { UserName: '',
        NickName: '',
        QQNum: 0,
        Province: '',
        City: '',
        Content: '',
        Signature: '',
        Alias: '',
        Scene: 0,
        VerifyFlag: 0,
        AttrStatus: 0,
        Sex: 0,
        Ticket: '',
        OpCode: 0 },
     ForwardFlag: 0,
     AppInfo: { AppID: '', Type: 0 },
     HasProductId: 0,
     Ticket: '',
     ImgHeight: 0,
     ImgWidth: 0,
     SubMsgType: 0,
     NewMsgId: xx,
     OriContent: '',
     MMPeerUserName: '@@xx',
     MMDigest: '你修改群名为“Bottesting2”',
     MMIsSend: false,
     MMIsChatRoom: true,
     LocalID: 'xx',
     ClientMsgId: 'xx',
     MMActualContent: '你修改群名为“Bottesting2”',
     MMActualSender: '@@xx',
     MMDigestTime: '9:39',
     MMDisplayTime: 1495445818,
     MMTime: '' },
  obj: 
   { id: 'xx',
     type: 10000,
     from: '@@xx',
     to: '@xx',
     content: '你修改群名为“Bottesting2”',
     status: 4,
     digest: '你修改群名为“Bottesting2”',
     date: 1495445818,
     url: undefined,
     room: '@@xx' },
  _counter: 9,
  id: 'xx' } +1ms
@huan
Copy link
Member

huan commented May 22, 2017

Hi @dcsan ,

Could you provide the steps in details for producing the ERROR unknown type Message?

Thanks.

@dcsan
Copy link
Author

dcsan commented May 23, 2017

OK will do. wasn't sure if its a bug or just not supported yet as a feature.

@huan
Copy link
Member

huan commented Aug 18, 2017

Close this issue due to not active for months.

Please feel free to reply to reopen this issue if we can reproduce the problem.

@huan huan closed this as completed Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants