adium-1.4 3585:3e9dc0105233: fix some issues with naming file tr...
commits at adium.im
commits at adium.im
Wed Aug 3 03:26:19 UTC 2011
details: http://hg.adium.im/adium-1.4/rev/3e9dc0105233
revision: 3585:3e9dc0105233
branch: (none)
author: Stephen Holt <sholt at adium.im>
date: Tue Aug 02 20:25:58 2011 -0700
fix some issues with naming file transfer icons
diffs (12 lines):
diff -r ad49f9658f0c -r 3e9dc0105233 Plugins/WebKit Message View/AIWebkitMessageViewStyle.m
--- a/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Tue Aug 02 18:57:32 2011 +0200
+++ b/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Tue Aug 02 20:25:58 2011 -0700
@@ -1328,7 +1328,7 @@
- (NSString *)iconPathForFileTransfer:(ESFileTransfer *)inObject
{
- NSString *filename = [NSString stringWithFormat:@"TEMP-%@%@.tiff", [inObject remoteFilename], [NSString randomStringOfLength:5]];
+ NSString *filename = [NSString stringWithFormat:@"TEMP-%@%@.tiff", [inObject uniqueID], [NSString randomStringOfLength:5]];
return [[adium cachesPath] stringByAppendingPathComponent:filename];
}
More information about the commits
mailing list