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