Closed adamramage closed 5 months ago
MongooseIM version: 6.1.0-549-gcd8a52f4d Installed from: Docker - mongooseim/mongooseim:PR-4149
Describe the issue. GraphQL Session listSessions returns an empty list.
Executing the following returns varying results indicating the graphql query to return listSessions may be broken
Below shows a list of connected users as i would expect
root@ctl00:/# mongooseimctl connected_users_info 62117800748.iq3@my.domain.example.com/iq3 c2s_tls 127.0.0.1 47010 0 mongooseim@pub00-2c.xmpp.my.domain.example.com 74758
Below returns a count of connected users as i would expect
root@ctl00:/# mongooseimctl graphql 'query {session {countSessions}}' { "data" : { "session" : { "countSessions" : 1 } } }
Below returns a count of connected users as i would expect when the domain is provided
root@ctl00:/# mongooseimctl graphql 'query {session {countSessions(domain: "my.domain.example.com")}}' { "data" : { "session" : { "countSessions" : 1 } } }
Below returns an empty list when the domain is provided
root@ctl00:/# mongooseimctl graphql 'query {session {listSessions(domain: "my.domain.example.com")}}' { "data" : { "session" : { "listSessions" : [ { } ] } } }
Below returns an empty list when the domain field is not entered
root@ctl00:/# mongooseimctl graphql 'query {session {listSessions}}' { "data" : { "session" : { "listSessions" : [ { } ] } } }
MongooseIM version: 6.1.0-549-gcd8a52f4d Installed from: Docker - mongooseim/mongooseim:PR-4149
Describe the issue. GraphQL Session listSessions returns an empty list.
Executing the following returns varying results indicating the graphql query to return listSessions may be broken
Below shows a list of connected users as i would expect
Below returns a count of connected users as i would expect
Below returns a count of connected users as i would expect when the domain is provided
Below returns an empty list when the domain is provided
Below returns an empty list when the domain field is not entered