refactor: active room ID now only in defined in the path

This commit is contained in:
Christian Pauly 2021-06-06 10:00:52 +02:00
commit 18abb21cdb
5 changed files with 8 additions and 8 deletions

View file

@ -7,9 +7,6 @@ import '../famedlysdk_store.dart';
class FluffyClient extends Client {
static FluffyClient _instance;
/// The ID of the currently active room, if there is one. May be null or emtpy
String activeRoomId;
factory FluffyClient({testMode = false}) {
_instance ??= FluffyClient._internal(testMode: testMode);
return _instance;