Bug 40390

Summary: Reduce debug spam from caps code (and tidy up the code)
Product: Telepathy Reporter: Will Thompson <will>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
URL: http://cgit.collabora.com/git/user/wjt/telepathy-gabble-wjt.git/log/?h=CAPS-LOCK
Whiteboard: review+
i915 platform: i915 features:

Description Will Thompson 2011-08-26 03:10:28 UTC
I just joined a MUC and looked at my debug log and got a whole lot of

  DEBUG ("don't know %u's presence; assuming text chat caps.", handle);

for everyone in the MUC. I don't think the message is all that useful, so I removed it, and while I was there tidied the code up a bit.

I'm prepared to be told the 'empty' thing is not an improvement on the previous special-case.
Comment 1 Jonny Lamb 2011-08-26 10:09:28 UTC
fine. If on Monday you feel like adding more comments or perhaps adding what you just explained to me in the commit messages, feel free! :-)
Comment 2 Will Thompson 2011-09-05 10:50:25 UTC
Thanks. Mergèd to master for 0.13.6.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.