mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7805 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
francisco
parent
fe9914978a
commit
f0d13eb9b3
@ -665,7 +665,7 @@ public class SparkTransferManager {
|
||||
* @param room the ChatRoom of the user you wish to send the image to.
|
||||
*/
|
||||
public void sendImage(final Image image, final ChatRoom room) {
|
||||
File tmpDirectory = new File(Spark.getUserHome(), "Spark/tempImages");
|
||||
File tmpDirectory = new File(Spark.getUserSparkHome(), "/tempImages");
|
||||
tmpDirectory.mkdirs();
|
||||
|
||||
String imageName = "image_" + StringUtils.randomString(2) + ".png";
|
||||
|
||||
Reference in New Issue
Block a user