Closed (fixed)
Project:
Chatblock
Version:
5.x-1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Nov 2007 at 09:42 UTC
Updated:
5 Dec 2007 at 16:33 UTC
I was unhappy because I had some message it my chatblock with 0 length, so I changed some line to exlude 0 length posts:
"chatblock.module" line 428
before:
chatblock_database('update', $message);
chatblock_messages();
after:
if (strlen($message) > 0 ){
chatblock_database('update', $message);
chatblock_messages();
}
It seems to work.
Comments
Comment #1
szimszon commentedSorry,
message it = message in
Comment #2
dwees commentedThis should be easy enough to configure as well, I'll add it when I get a chance. Basically it would be another setting in the settings form, check the setting and all 0 length messages are removed.
Dave
Comment #3
dwees commentedAssigning this to myself.
Dave
Comment #4
dwees commentedThis is fixed in the newest version, code committed on 20/11/07, wait until the next day for the packaging script to update the tar ball for this module.
Dave
Comment #5
szimszon commentedI have upgraded it. We'll see... :)
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.