aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorDiva Canto2011-06-06 17:46:34 -0700
committerDiva Canto2011-06-06 17:46:34 -0700
commite77ca65e575e4f8f7645aec879b73b87ba505f49 (patch)
tree305c962a3c08b6d3c121f03d05064a64a031a85f /OpenSim/Region/CoreModules
parentNarrow down the exception catching to exactly the exception of interest. This... (diff)
downloadopensim-SC_OLD-e77ca65e575e4f8f7645aec879b73b87ba505f49.zip
opensim-SC_OLD-e77ca65e575e4f8f7645aec879b73b87ba505f49.tar.gz
opensim-SC_OLD-e77ca65e575e4f8f7645aec879b73b87ba505f49.tar.bz2
opensim-SC_OLD-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.cs5
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;