Project

General

Profile

Help , something perplex me,Please

wu zhisheng
Added 10 months ago

I called the tigase http api /rest/adhoc/muc@muc.app.im

In production ,it return :

{
    "command": {
        "jid": "muc@muc.app.im",
        "node": "message-to-groups",
        "fields": [
            {
                "var": "Note",
                "type": "fixed",
                "value": "1"
            }
        ]
    }
}

in my dev , it return :

{
    "command": {
        "jid": "muc@muc.app.im",
        "node": "message-to-groups",
        "fields": [
            {
                "var": "1005",
                "type": "text-multi",
                "value": [
                    "10409"
                ]
            },
            {
                "var": "Note",
                "type": "fixed",
                "value": [
                    "1"
                ]
            }
        ]
    }
}

why ?


Replies (2)

Added by Wojciech Kapcia TigaseTeam 10 months ago

We don't have message-to-groups command therefore this one was most likely developed by you. Therefore you should check the sources that you are using/building for that command and fields that it generates.

Added by wu zhisheng 10 months ago

ok , thanks

    (1-2/2)