Commit 3fe044d5 authored by mathieui's avatar mathieui
Browse files

Fix #2437 (show version in /self)

parent b4b8f2a4
......@@ -51,7 +51,7 @@ import bookmark
from plugin_manager import PluginManager
from data_forms import DataFormsTab
from config import config, firstrun
from config import config, firstrun, options as config_opts
from logger import logger
from roster import roster
from contact import Contact, Resource
......@@ -2631,11 +2631,13 @@ class Core(object):
show, message = status.show, status.message
nick = self.own_nick
jid = self.xmpp.boundjid.full
info = 'Your JID is %s\nYour current status is "%s" (%s)\nYour default nickname is %s' % (
info = ('Your JID is %s\nYour current status is "%s" (%s)'
'\nYour default nickname is %s\nYou are running poezio %s' % (
jid,
message if message else '',
show if show else 'available',
nick)
nick,
config_opts.version))
self.information(info, 'Info')
def register_initial_commands(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment