mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-19 17:11:47 -04:00
Invert account name and platform name display
This commit is contained in:
parent
7c47d6171a
commit
25842be18d
@ -220,7 +220,7 @@ class Session(base.baseSession):
|
||||
instance = self.settings["mastodon"]["instance"]
|
||||
instance = instance.replace("https://", "")
|
||||
user = self.settings["mastodon"]["user_name"]
|
||||
return "Mastodon: {}@{}".format(user, instance)
|
||||
return "{}@{}: Mastodon".format(user, instance)
|
||||
|
||||
def start_streaming(self):
|
||||
if config.app["app-settings"]["no_streaming"]:
|
||||
|
@ -666,6 +666,6 @@ class Session(base.baseSession):
|
||||
|
||||
def get_name(self):
|
||||
if self.logged:
|
||||
return "Twitter: {}".format(self.db["user_name"])
|
||||
return "{}: Twitter".format(self.db["user_name"])
|
||||
else:
|
||||
return "Twitter: {}".format(self.settings["twitter"]["user_name"])
|
||||
return "{}: Twitter".format(self.settings["twitter"]["user_name"])
|
Loading…
x
Reference in New Issue
Block a user