mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-04 11:34:30 +01:00
Remove no longer used method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
8f748caeaa
commit
783f09316f
@ -406,16 +406,6 @@ public class MagicWebSocketInstance extends WebSocketListener {
|
||||
return NextcloudTalkApplication.Companion.getSharedApplication().getString(R.string.nc_nick_guest);
|
||||
}
|
||||
|
||||
public String getSessionForUserId(String userId) {
|
||||
for (String session : usersHashMap.keySet()) {
|
||||
if (userId.equals(usersHashMap.get(session).getUserId())) {
|
||||
return session;
|
||||
}
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
public String getUserIdForSession(String session) {
|
||||
if (usersHashMap.containsKey(session)) {
|
||||
return usersHashMap.get(session).getUserId();
|
||||
|
Loading…
Reference in New Issue
Block a user