diff options
author | Diva Canto | 2011-06-06 17:46:34 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-06 17:46:34 -0700 |
commit | e77ca65e575e4f8f7645aec879b73b87ba505f49 (patch) | |
tree | 305c962a3c08b6d3c121f03d05064a64a031a85f /OpenSim/Region/CoreModules | |
parent | Narrow down the exception catching to exactly the exception of interest. This... (diff) | |
download | opensim-SC-e77ca65e575e4f8f7645aec879b73b87ba505f49.zip opensim-SC-e77ca65e575e4f8f7645aec879b73b87ba505f49.tar.gz opensim-SC-e77ca65e575e4f8f7645aec879b73b87ba505f49.tar.bz2 opensim-SC-e77ca65e575e4f8f7645aec879b73b87ba505f49.tar.xz |
This should make offline IMs work again. It should work for incoming foreign IMs where the local recipient is offline. I can't test any of this, because I don't run an offline IM server.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/HGMessageTransferModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/HGMessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/HGMessageTransferModule.cs index 4de197e..dee86df 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/HGMessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/HGMessageTransferModule.cs | |||
@@ -213,7 +213,10 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
213 | } | 213 | } |
214 | } | 214 | } |
215 | } | 215 | } |
216 | result(success); | 216 | if (!success && !foreigner) |
217 | HandleUndeliveredMessage(im, result); | ||
218 | else | ||
219 | result(success); | ||
217 | }); | 220 | }); |
218 | 221 | ||
219 | return; | 222 | return; |