Commit 7a9b9ede authored by louiz’'s avatar louiz’

Fix //

parent 89ed9260
...@@ -4,9 +4,11 @@ http://codingteam.net/project/poezio/roadmap ...@@ -4,9 +4,11 @@ http://codingteam.net/project/poezio/roadmap
* Poezio 0.7 - dev * Poezio 0.7 - dev
Codename ”Koshie & Mathieui” Codename ”Koshie & Mathieui”
- Library changed from xmpppy to SleekXMPP
- Introduce the roster - Introduce the roster
- One to one conversations - One to one conversations
- Roster search - Roster search
- Add/remove/accept/deny contact in the roster
- Resizable mini-buffer displaying various informations - Resizable mini-buffer displaying various informations
- All colors can be changed with a theme file - All colors can be changed with a theme file
- /say and // commands - /say and // commands
......
...@@ -248,6 +248,8 @@ class ChatTab(Tab): ...@@ -248,6 +248,8 @@ class ChatTab(Tab):
def on_enter(self): def on_enter(self):
txt = self.input.key_enter() txt = self.input.key_enter()
if not self.execute_command(txt): if not self.execute_command(txt):
if txt.startswith('//'):
txt = txt[1:]
self.command_say(txt) self.command_say(txt)
def command_say(self, line): def command_say(self, line):
......
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