getInboundGroupSession method

SessionKey? getInboundGroupSession(
  1. String roomId,
  2. String sessionId
)

Implementation

SessionKey? getInboundGroupSession(String roomId, String sessionId) {
  final sess = _inboundGroupSessions[roomId]?[sessionId];
  if (sess != null) {
    if (sess.sessionId != sessionId && sess.sessionId.isNotEmpty) {
      return null;
    }
    return sess;
  }
  return null;
}