From 7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 12 Jan 2011 21:08:17 +0100 Subject: Fix // --- CHANGELOG | 2 ++ src/tabs.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a5cc68c7..eef8940f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,9 +4,11 @@ http://codingteam.net/project/poezio/roadmap * Poezio 0.7 - dev Codename ”Koshie & Mathieui” +- Library changed from xmpppy to SleekXMPP - Introduce the roster - One to one conversations - Roster search +- Add/remove/accept/deny contact in the roster - Resizable mini-buffer displaying various informations - All colors can be changed with a theme file - /say and // commands diff --git a/src/tabs.py b/src/tabs.py index c7ba1b50..2d071973 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -248,6 +248,8 @@ class ChatTab(Tab): def on_enter(self): txt = self.input.key_enter() if not self.execute_command(txt): + if txt.startswith('//'): + txt = txt[1:] self.command_say(txt) def command_say(self, line): -- cgit v1.2.3