[Gajim-devel] message starting with / interpreted as path on filesystem

Yann Leboulanger asterix at lagaule.org
Mon Apr 18 22:18:36 CEST 2016

On 04/18/2016 09:52 AM, Thomas Keller wrote:
> On 2016-04-17 17:18, Yann Leboulanger wrote:
>> On 04/17/2016 04:17 PM, Thomas Keller wrote:
>>> whenever I write a message starting with /, gajim thinks I am referring
>>> to a file on my filesystem, and tells me:
>> Hi,
>> This is our c. All messages starting with a / are
>> considered as a command. Gajim doesn't think it's a file on your system,
>> it thinks it's a command. (type /help -a to see a list of available
>> commands)
>> There is no way to disable that. you just need to double the first / if
>> your message starts with a /.
> there must be some way to disable it in the python code. Could somebody
> please point me to the relevant section of the code ?
> I don't see any reason why I would want to mix using "command system"
> when writing messages. And choosing "/" do delimit commands seems very
> unfortunate to me, if I may give unsolicited feedback.

Here is a patch to disable commands in chat. Same kind of thing should
be done in groupchat_controle.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_commands.diff
Type: text/x-patch
Size: 2275 bytes
Desc: not available
URL: <http://lists.gajim.org/pipermail/gajim-devel/attachments/20160418/dff9c58f/attachment.bin>

More information about the Gajim-devel mailing list