Disables export chat logs until we can get it fixed

This commit is contained in:
izac112
2020-07-19 14:18:45 +02:00
parent 1cfeb46bbb
commit c4e58b4f28
3 changed files with 6 additions and 4 deletions

View File

@@ -137,7 +137,7 @@
</div>
</div>
</div>
<button class="ui button" @click="save_chatlog">Export Chatlog</button>
<!-- <button class="ui button" @click="save_chatlog">Export Chatlog</button> YW EDIT: disabled until we can fix the lag -->
</div>
</div>
</div>

View File

@@ -133,7 +133,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
send_playerinfo()
load_database()
owner.verbs += /client/proc/vchat_export_log
//YW EDIT: disabled until we can fix the lag: owner.verbs += /client/proc/vchat_export_log
//Perform DB shenanigans
/datum/chatOutput/proc/load_database()
@@ -379,6 +379,7 @@ var/to_chat_src
var/list/tojson = list("time" = time, "message" = message);
target << output(jsEncode(tojson), "htmloutput:putmessage")
/* YW EDIT: disabled until we can fix the lag
/client/proc/vchat_export_log()
set name = "Export chatlog"
set category = "OOC"
@@ -418,4 +419,5 @@ var/to_chat_src
if(!fdel(o_file))
spawn(1 MINUTE)
if(!fdel(o_file))
log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.")
log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.")
*/