Homec4science

Fix PhabricatorBot ignore messages from senders

Authored by John Watson <john@dctrwatson.com> on Feb 20 2013, 21:30.

Description

Fix PhabricatorBot ignore messages from senders

Summary:
PhabricatorBotMessage->getSender returns a PhabricatorBotUser object (which potentially can be null)
So check null and then use getName to get actual name of the sender

Test Plan: Run phabot and add myself to ignore list

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5036

Details

Committed
epriestley <git@epriestley.com>Feb 20 2013, 21:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPH28bdeb6d3e01: Document `YYYYMMDD.name.ext` format for SQL patches
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH204d6481e4ad: Fix PhabricatorBot ignore messages from senders (authored by John Watson <john@dctrwatson.com>).Feb 20 2013, 21:30