nextcloud / talk_matterbridge

This app brings the Matterbridge binary to your server to connect Nextcloud Talk with other chat services
https://apps.nextcloud.com/apps/talk_matterbridge
GNU Affero General Public License v3.0
39 stars 7 forks source link

talk_matterbridge fails to start IRC-connection: json: cannot unmarshal array into Go struct [...] #93

Open umgfoin opened 1 year ago

umgfoin commented 1 year ago

NC 26.0.2 TALK 16.0.4 TALK MATTERBRIDGE 1.27.0-0 (git master) matterbridge-1.25.2-linux-64bit PHP 8.2 Debian 12.0 bookworm

log:

time="2023-06-16T11:36:48+02:00" level=info msg="Parsing gateway myGateway" prefix=router
time="2023-06-16T11:36:48+02:00" level=info msg="Starting bridge: nctalk.1 " prefix=router
time="2023-06-16T11:36:48+02:00" level=info msg=Connecting prefix=nctalk
time="2023-06-16T11:36:48+02:00" level=info msg=Connected prefix=nctalk
time="2023-06-16T11:36:48+02:00" level=info msg="nctalk.1: joining t4fe32bh (ID: t4fe32bhnctalk.1)" prefix=nctalk
time="2023-06-16T11:36:48+02:00" level=fatal msg="Starting gateway failed: Bridge nctalk.1 failed to join channel: json: cannot unmarshal array into Go struct field RoomInfo.ocs.data.lastMessage of type ocs.TalkRoomMessageData" prefix=main

toml:

        Server = "chat.freenode.net:6667"
        Nick = "umgfoin"
        PrefixMessagesWithNick = true
        RemoteNickFormat = "[{PROTOCOL}] <{NICK}> "

[nctalk.1]
        SeparateDisplayName = true
        Server = "https://cloud.aegaeon.de"
        Login = "bridge-bot"
        Password = "<****>"
        PrefixMessagesWithNick = true
        RemoteNickFormat="[{PROTOCOL}] <{NICK}> "

[[gateway]]
        name = "myGateway"
        enable = true

[[gateway.inout]]
        account = "irc.0"
        channel = "#brummbrumm"

[[gateway.inout]]
        account = "nctalk.1"
        channel = "t4fe32bh"
umgfoin commented 1 year ago

related/ duplicate of: https://github.com/nextcloud/spreed/issues/4282

umgfoin commented 1 year ago

similar issue here: #61