another system message

This commit is contained in:
Evan Prodromou 2009-02-17 12:08:53 -05:00
parent 75ebd45ebd
commit 7bcfc9f643
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ class XMPPDaemon extends Daemon
{ {
if (preg_match('/[\[\(]?[Aa]uto[-\s]?[Rr]e(ply|sponse)[\]\)]/', $txt)) { if (preg_match('/[\[\(]?[Aa]uto[-\s]?[Rr]e(ply|sponse)[\]\)]/', $txt)) {
return true; return true;
} else if (preg_match('/^System: Message wasn\'t delivered. Offline storage size was exceeded.$/', $txt)) {
return true;
} else { } else {
return false; return false;
} }