mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge remote-tracking branch 'origin/chat' into chat
This commit is contained in:
commit
e686e890b5
1 changed files with 2 additions and 2 deletions
|
@ -2020,7 +2020,7 @@ function getSetUserSharedFolder(selected_callsign) {
|
||||||
|
|
||||||
function getSetUserInformation(selected_callsign) {
|
function getSetUserInformation(selected_callsign) {
|
||||||
//Get user information
|
//Get user information
|
||||||
console.log("get set user information:" + selected_callsign)
|
console.log("get set user information:" + selected_callsign);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
selected_callsign == "" ||
|
selected_callsign == "" ||
|
||||||
|
@ -2040,7 +2040,7 @@ function getSetUserInformation(selected_callsign) {
|
||||||
// image
|
// image
|
||||||
if (typeof data.user_info_image !== "undefined") {
|
if (typeof data.user_info_image !== "undefined") {
|
||||||
try {
|
try {
|
||||||
console.log("try checking for image if base64 data")
|
console.log("try checking for image if base64 data");
|
||||||
// determine if we have a base64 encoded image
|
// determine if we have a base64 encoded image
|
||||||
console.log(data.user_info_image.split("data:image/png;base64,")[1]);
|
console.log(data.user_info_image.split("data:image/png;base64,")[1]);
|
||||||
atob(data.user_info_image.split("data:image/png;base64,")[1]);
|
atob(data.user_info_image.split("data:image/png;base64,")[1]);
|
||||||
|
|
Loading…
Reference in a new issue