+2005-07-08 Helge Hess <helge.hess@opengroupware.org>
+
+ * UIxMailEditor.m: use WOContext method from libSOGo to detect
+ Internet access (v0.9.134)
+
2005-07-08 Helge Hess <helge.hess@opengroupware.org>
* UIxMailMainFrame.m: added help button and extra space for that in the
#include <SoObjects/Mailer/SOGoDraftObject.h>
#include <SoObjects/Mailer/SOGoMailFolder.h>
#include <SoObjects/Mailer/SOGoMailAccount.h>
+#include <SoObjects/SOGo/WOContext+Agenor.h>
#include <NGMail/NGMimeMessage.h>
#include <NGMail/NGMimeMessageGenerator.h>
#include "common.h"
/* detect webmail being accessed from the outside */
- (BOOL)isInternetRequest {
- WORequest *rq;
-
- rq = [[self context] request];
- return [(id<EOQualifierEvaluation>)internetDetectQualifier
- evaluateWithObject:[rq headers]];
+ return [[self context] isAccessFromIntranet] ? NO : YES;
}
- (BOOL)showInternetMarker {
# version file
-SUBMINOR_VERSION:=133
+SUBMINOR_VERSION:=134
+# v0.9.134 requires libSOGo v0.9.41
# v0.9.100 requires libNGMime v4.5.213
# v0.9.99 requires libNGMime v4.5.212
# v0.9.97 requires SoObjects/Mailer v0.9.71